Quiet down some warnings
Merge pull request #1800 from ethomson/mingw_warnings

Quiet down some warnings