Disable rtti for gcc.