Problem has to do with newer bison (1.87). Besides the #defines for the tokens is also generates an ENUM with the tokens. Defining #YYTOKENTYPE just before the include for c-parse.h solves the build