HPCC-12192 Fix problems building esdlcomp on windows

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