First attempts at a CMake-based build system