Move IsUnix check back to Env