turn off exceptions in tbb when rtti is off (the exceptions use rtti for class name)