Added CMake compatibility