Update CMakeLists.txt to check for pre-set Python data