Backward compatibility for ocaml < 4.01