add require-when-exist macro around package for emacs23