configure: check if lex requires/fails with -o for output