Some minor changes to get rf4a working with Flexpart. Not tested.