Fix windows compiler warnings in the test suite.