Byteswap for unsigned long to satisfy clang on OSX
Merge pull request #86 from tribal-tec/master

Byteswap for unsigned long to satisfy clang on OSX