Unnecessary allocation, use `if term == "cygwin"`