Fix compilation on recent ocamlnet, gcc.

I needed those changes in order to compile on my system (ocamlnet 3.6.5, gcc (GCC) 4.8.1, Archlinux).