Fix errors with Emacs <= 23(fix #65)