ported m4, flex and bison