Fix linux bug with env symlink.