Add Python settings to CMakeLists.txt