Compilation fixes for Ogre 1.8.