- make the #ifdefs in this file less arch-specific - support FreeBSD - add a missing symbol (__gmpz_cmp_ui)