Fix autoconf and automake warnings.