Fix .sh to work on OSX.