Fix header and footer lines for package.el compatibility