fix xpdf build with clang