[bugfix] makeing a shared library failure under the version 3 of bison