configure: improve libpcap/libconfig coverage