minor bug fixes from the android build and pcap based packet capturing