build system now uses CMake