Hack to disable exceptions and rtti