OS X: patches for Ogre 1.9 support