libtool: fix universal

Closes #33893.

Should be replaced by an upstream bug report and patch when available.