Avoid race between tests introduced in #1731 (#1733)
The `wasm-rt-impl.o` in particular needs to be compiled with a different
input and output directory. Without this change each test tries to
build this object in (the same) place.
I'm not sure how this passed the tests as it fails pretty reliably on my
machine.