Backports compilation patches for ocaml-4.01.0beta1
Restrict patches to { ocaml-version >= 4.01.0 }
Merge pull request #1022 from hnrgrgr/master

Backports compilation patches for ocaml-4.01.0beta1