update for cross compile