build: fix or suppress warnings

- activated "treat warnings as errors"
It is true unconditinaly that if MSVS is used then it should not use cygwin