serf: fix universal build

Fixes #23342.