Fix: output_hashtbl should now work for OCaml 4.00+

This should fix gwc2 for newest versions of OCaml, compatibility is still kept for older versions.