CMake 3.x compatibility in Python bindings.