fix ndk compatible problem