test/*/Makefile: Do not assume that $(ROOT) is a relative path.

This allows us (LDC) to use the Makefiles in out-of-source builds.