HPCC-10525 Fix regression in windows constant folding (wrong flag tested)

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