TIMOB-13395-3_1_X: Android: native modules broken with android-ndk-r8e

Backport to 3_1_X for https://jira.appcelerator.org/browse/TIMOB-13395