Improved enable-yydebug flag, fixed segfault