Simplify building Python extensions with CMake