Added CMake support.