modify in case of no existence of gmp_strval() for IPv6