merge flex reader into libpaje
fix static link after merge of flex/bison into libpaje