Added additional platform check for __ANDROID__. The macro ANDROID was deprecated with "android-ndk-1.6_r1".