build: Allow customization of paths for libpcap, librt, and libresolv

Change-Id: Id54955f33f0df728b8fad2a22de9592ce783adf1