ocaml-lwt: fixes build with OCaml 3.12 and 4.02
Merge pull request #4815 from vbgl/lwt

ocaml-lwt: fixes build with OCaml 3.12 and 4.02