Fix "make check" with automake-1.11.