Fixing iOS build scripts