Fix some warnings seen under Windows.