A few CMake changes and it now compiles!