Fixed lexical-binding local variable setting

After some confusion and inattention on my part, it became clear that setting lexical-binding to t may occasionally work in a local variable block, but not always. The only way to be sure is to put it on the first line.