Configure the jni target to be a bit more useful.