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