Switch to CMake.