Fixes compilation on Kubuntu 12.10.

According to the bison manual, yydebug is only available if YYDEBUG is
defined and equals 1. Also the yyparse prototype was wrong.