Fix cross build