Modified to run under OGRE 1.7.4