Improve CMakeLists.txt.