patched Makefile.am