fix package stuff for emacs 23