Modify mkapp to work on os x

I apologize, I submitted this yesterday without properly testing. Even `-e` didn't behave as I would expect on OS X. 

:beers: