Android NDK r9 support. x64 NDK support fix for MacOS X.
Merge pull request #1535 from asmorkalov:android_ndk_r9