fixed Makefile.am to handle config file correctly