MSANDBOX-51 fork Os.java over from Apache ant. We also needed to make a few static fields public due to compat reasons with the old plexus-utils.