carrierroute: fix cross compilation
osp: fix cross compilation