Fixed build errors resulting to changes to automake/bison