fix OSX packaging