Community build broken with python3.10

if you build the latest openpbs with python version > 3.9 the am_cv_python_version value is wrong.

am_cv_python_version=$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"

doesnt work. I will suggest

am_cv_python_version=`$PYTHON -c “import sys; sys.stdout.write(‘.’.join(sys.version.split(‘.’)[:2]))”

thanks
s