Fix sed errors on OSX, without breaking ubuntu

h/t @Keithbsmiley. Closes #125
use command pwd instead of pwd
Merge pull request #132 from lge88/master

use command pwd instead of pwd. h/t Ige88
Merge branch 'master' into ordered_args