Update of CMake files
This PR includes the required patches to CMake from #40 (closed):
- Set correct working directory for Python generator
- Update
config.h.cmake.in
to match the current autotools version in order to support building on MSYS2 - Set CMake project language to C