make it compile in ocaml 4

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>