CMakeLists.txt refactoring.