Upgrade flex and bison to more recent versions