Allow major versions of bison

Tested to work with bison (GNU Bison) 2.7.12-4996 on OSX, but should
work generically on more platforms.