Correctly handle commandline args in SP on non-windows OS'.