Added compatibility with Ogre 1.9