HPCC-9229 Fix build break on more modern compilers

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