update build
add jni m4 macro