Fix package.el error on Emacs 24