Add lexer compilation step to gradle so it can be automated