tweaks to jni configure