added check if the system is cygwin