Macintosh byteswapping port

Signed-off-by: Daniel Farina <daniel@fdr.io>