Fix ndk r9 build