compile with CMake