correct the jni build warning