Modify k10 jna class to make it work with last version of jna/java