configure: Add check for lex, yacc