packaging: update os x packaging script