Add support for configuring with CMake