tests: Fix using tools from the build directory.