Properly set aclocal flags.

This fixes the automatic re-running of autoconf/automake when configure.ac or
Makefile.am changes.