Fixed byteswap issue on linux (seems it's not needed on this platform?)