made CMakeLists work without git being installed