add some more constness
unlinting CMakeLists.txt