Updated CMakeLists for compilation.