Make both static and shared library
pcap: split caplen from genlen in pfq pcap configuration file.