Using MacOSX functions for endian conversion
WIP
cputype and cpusubtype checks added/updated

Note: cpusubtype fails on x86_64 :(