Updated configure.ac and several Makefile.am's to make newer automakes happy.