Set the default DLL chracteristics to 0 for Cygwin based targets.