fixed Mac bugs in Sys.cacheinfo()