Add BISON version >= 2.5 guard

configure.ac: Add AC_PROG_BISON check
m4/bison.m4: New
Makefile.am (EXTRA_DIST): Add m4/bison.m4