HPCC-11340 OSX build error

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5806 from richardkchapman/osx-error

HPCC-11340 OSX build error

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>