detect linux vs cygwin