Fix CMake test for PyCXX