Fix windows warnings.