Declare dependency on emacs 24

The code declares `lexical-binding: t`, which is only available in Emacs 24.