Support libpcap versions < 1.5.