fixed compilation errors in Linux QPacketSniffer