build: Bail out early if m4 or lex don't exist.