Adds CMake build script.