Replace @...@ with $(...) in these common Makefile.am files.