fix an ownership issue when creating the mac bundle