Build fixes

Improve the build experience when missing bison/flex and running on Fedora machine.