Fix 32 bit memory alignment