[FIXED JENKINS-14515] toEnvVars must respect the slave platform when creating a new EnvVars object.
Merge pull request #20 from jglick/JENKINS-14515-pathsep

[FIXED JENKINS-14515] Incorrect path separator used on Win slave from Unix master