Remove more duplicates in CMakeLists.txt