Fix compile issue in AssetCache::refresh()