make it compile with ocaml 4.02.0
Merge pull request #1 from domsj/4.02-ify

make it compile with ocaml 4.02.0