HPCC-12282 Fix link errors on windows.

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