CMakeLists.txt: reorg