Changes to work with py2app

Changes necessary to make successfull packaging possible on OSX with
py2app.