HPCC-12662 Fix compile issue with older gcc versions

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>