[Android] Fixing build errors for ndk-r9.