compiler fixes for ocaml 4.02.1