fixed jna stuff for linux