add cygwin to supported  cmake targets

Cmake can be used to build on cygwin now.

Note that we can't use
${CMAKE_SYSTEM_NAME} here (with braces),
since that leads to CYGWIN, which is interpreted by cmake
as ${CYGWIN}, which is 1 (true), rather than "CYGWIN".