fix iOS build