[py3] Teach the CMake build to reject Python versions older than 2.7.