Backport newer OCaml stdlib features to older compilers
