libs: prevent JNA jar be pulled with NFS code

Ticket: #8020
Acked-by: Paul Millar
Target: master, 2.6, 2.7
Merge pull request #195 from kofemann/iss8020-2.6

Iss8020 2.6