Fixed the configure.ac and Makefile.am