Compatibility with ocaml 3.12.1