changed pcap/libpcap detection