More portable bootstrap scripts & fix libuv build on OpenBSD

This removes some bashisms in the bootstrap scripts and allows them to run with plain POSIX sh/tar, and fixes the development build on OpenBSD by using gmake & kvm in the libuv build.