Don't print warning on cygwin for -pthread