fix OSX build errors.
Add config option to select packet radio type.