Python provides the WORDS_BIGENDIAN macro, use it to figure out the native endian of the host. Signed-off-by: Daniel Golle <daniel@makrotopia.org>