Added compatibility with Ogre 1.9

This adds compatibility with Ogre 1.9 (while breaking compatiblility with older versions in the demos)