1. fixed compile under 64-bit gcc
2. fixed rtti linking error in linux with non-rtti irrlicht installed