Handle non-Linux OS in cache