Use JNA instead of JNI