OCaml 4.01: fix caching of externally discovered files