Force the caching of file / dir lookup failures (ROOT-6865).
Fix new clang warning: missing override.
Default is clang; also work with non-Apple clangs.