Eliminate deprecation warnings from OCaml 4.01