Allow stripping and passing of flags to the lexer