Changed to CMake build system.