Update packaging to work with mock builds