Fix caching for Windows.