FIXING std::exception ISSUES ON ANDROID