Fixes for compiling on FreeBSD

Compiles and tests run. The execvp test fails because static busybox is
not installed (need a better test here).
Add stdout/2 and stderr/2 with immediate timeouts