tweak configure.ac and Makefile.am