HPCC-9595 - build fix (for USE_CPPUNIT)

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-10918 Fix build break on windows system

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #5456 from jakesmith/hpcc-9595-cppunit-buildfix

HPCC-9595 - build fix (for USE_CPPUNIT)

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5457 from ghalliday/issue10918

HPCC-10918 Fix build break on windows system

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>