Check OS type for z.