remove unused flex dependency