Enable -no-undefined only for Windows.