Fixing self update again.
Distinguishing between Windows and *nix should solve the classpath problem
when running the self update process.