Remove pasta'd C++ stuff from CMakeLists