Fixed CMakeLists errors