Workaround AX_PREFIX_CONFIG_H issue

It seems that AX_PREFIX_CONFIG_H does not catch the case when
there are space between # and define.  One such situation arises
when calling AC_C_BIGENDIAN with no arguments.  We now call it with
an argument and create our own define with a different name.