Add CMake for compilation