fix a bug in Makefile.am