Fix the packaging script.