made pyinstaller work for OSX (#43)