Fix for Ogre 1.9.