Fixing packaging for Qt5 based codes on OS X. Windows and Linux packaging are probably broken at this point.