stay compatible with ocaml >= 3.12.1