fix cross build for nios