Incorporated the CMake build system.