fix ndk build scripts