Adding CMake integration and Geographiclib building