libs: prevent JNA jar be pulled with NFS code

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

Iss8020 2.7