Disable rtti for gcc.
Merge pull request #368 from chrta/gcc_disable_rtti

[Exporters] Disable rtti for gcc.