some weird hack to fix linking with GeographicLib (analogous to ceres_catikin).