improved the CMakeLists.txt to make more sense