Add CMake support.