First version of the CMake build script