a little simplify build after yacc changes