Change enif_get_ulong to enif_get_uint64 for better wintel interop (full credit to Sverker Eriksson on the ML for spotting)