WORDS_BIGENDIAN not defined on sparc Solaris 10

fixes #1283