Fix windows compiler warnings.