Turn off RTTI when building with libstdc++