HPCC-12513 Clean up various windows warnings

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Not my realm but I noticed it anyway. Might it be worth opening a Jira for this so that it doesn't get lost until the next times someone reads this, even if this is just meant as a disclaimer?