Fix windows errors.