fix compilation with ocaml < 4