This may not be a good idea,but if you want to turn it off go to avast interface/ setting/antivirus/uncheck deep scan.You can also try excluding cygwin exclusion is just a bit lower on the page.