yaws: fix HEAD build

Fixes #31960.