Fixing the compilation against ocaml 4.01
Fixing warnings with ocaml 4.01