fix link error for ANDROID_NDK build