Doesn't this need to be `if "cygwin" == term` to get the coercions happening correctly?