remove duplicate things from CMakeLists.txt