x64-upstream: Set ndk if necessary