THRIFT-1614: handle automake >= 1.12 yacc output name (thrifty.hh)