Fix a problem with Ogre's microcode cache.

Only affects windows, because that is the only platform it currently works on.