Created a build system with cmake.