Fixing code gen to handle microsoft layouts for which size % alignment
!= 0