Stop referencing $(top_builddir) in makefiles.

It should now be possible to build from different directories.