libpcap: Don't force Linux pcap type

Fixes building on Darwin #4515
Merge pull request #4518 from wmertens/fixlibpcap

libpcap: Don't force Linux pcap type