Fix conflicting names with new lex/yacc in FreeBSD 10.
Fix warning regarding arguments signs mismatching.