disabled C++ RTTI is osx sample app