Fix typo/build failure on big endian OSX, thx Daxar/meh2481