Fix Bison 3.x incompabtility

Bison 2.x compatible (verified in Travis tests https://travis-ci.org/mwojcikowski/rdkit/builds/19649541). Patch pulled from Debian Sid package.

Original patch by Daniel Leidert <dleidert@debian.org>
Debian Bug: http://bugs.debian.org/733359