fixed compilation issues with OCaml 4.00.1