this fixes build failures for native compiler on some targets where linking gmp fails with undefined references to __gmpn_invert_limb.