Move path override in test/Makefile.