bug fix and adjust unstandard shell

Now default uses /bin/sh to deal the system work, so need to reset this for Windows...But that's OK, seems no one uses this on Windows...