fix cross compile