Added automatic dos2unix for Cygwin users

Windows can mess files up by putting it CRLF instead of LF in files. Autoconversion of .ctproject files is done with dos2unix if we are running it on a Windows host