Adjust Makefile.am's to support out-of-source builds