fix sanity check that is broken by OCaml 4.02.x