Added support for Irrlicht 1.8 and older versions