build: improved Makefile.am