pbc: fails with clang

Fixes #17112.