Fix CMakeLists for systems with Python 2.7 and Python 3.

On Arch Linux, CMake was choosing Python 3 over Python 2.7, leading to compilation errors.