Fix empty case for OCaml 3.11 and above.