added ifdef around DLT_NFLOG and pcap promisc constants