For now, I pushed a change that I think fixes the immediate problem. I'd rather not just delete the troublesome block, because its there to help with building pb much more quickly on a machine where a native build is supported.
I agree that using AC_C_BIGENDIAN
and AC_CHECK_SIZEOF
would be better.