Added ability to change lexer for the compiler.