Correct the lexer and the compilation script