Big-endian portability fix

Tested on MIPS OpenWRT router