Fix incompatibility with older OCaml stdlib