Quite a few of the changes against the MalcolmRobb/dump1090 fork are incompatible with OSX. This patch adds back that cross platform support back.
This is a from-scratch reimplementation that should be functionally equivalent to the Flightaware version that was based on dump1090_mr and had its fingers deep in the network code. This version should be a little less invasive / fragile..