Assumes little endian when SYSTEM_BYTEORDER is not defined

Fixed the bug reported in the issue #263.