Fixed some compiler warnings with OCaml 4.02.0+trunk