Fix several Makefile.am to support a builddir different than srcdir
Merge pull request #1062 from dumbbell/fix-out-of-source-build

Fix several Makefile.am to support a builddir different than srcdir