Simplify CMakeLists.txt.