Fix the iOS build after recent inherited OTHER_LDFLAGS.