Support CMake as a build system