Portability changes for t/serialization/02-types.t