Make MathLib independent of GeoLib.