Fixed compatibility issues due to struct packing.