Fix bug in the type returned by getopt_long, and move PCAP_TIMEOUT to the general include file