Updated for bison and flex with automake