Build avoidance (pass_fd.so, netperf)

Two patches that allows the virt-test package to be pre-built in a cross-compiling environment.

Pre-inspektor'd and tested using io-github-autotest-qemu.netperf_stress.

Thanks,
/Jonas