fix for ocaml 3.12