libs: prevent JNA jar be pulled with NFS code

Ticket: #8020
Acked-by: Paul Millar
Target: master, 2.6, 2.7