Correction for native impelmentation differences in struct packing