Convert project to CMake