Restore compatibility with Emacs < 24.4

#45