HPCC-11567 Fix a few warnings picked up by windows build

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