Fix references to the build-aux directory in the generated tests/Makefile.am.