HPCC-12693 Fix compile error with old versions of centos

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