Fix php5*-xhp build fails with clang

Fixes issue #873