Unreviewed, fix byte order macros and address new -Wunknown-pragmas warnings