HPCC-12513 Clean up various windows warnings

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
done