It seems we cannot get things done with the JNA properly.
Switching to the good ol' JNI instead.