Emergency release: fix problems with <4.01.0 ocaml version.

Remove some warnings.

Signed-off-by: Jerome Maloberti <jmaloberti@gmail.com>