changed CMakeLists.txt for new build system