Switched the build system to CMake