Remove redundant defines from CMakeLists.txt