ensure compatibility with ocaml 4.00