add CMake support