Fix cross compilation build in gcc-ar