make it work with OCaml 3.12.1