CMake file now seems to work