added check if system is cygwin