Fixed CMakeLists.txt such that it now compiles.