Prefer stdlib to libuv (fixes #688)