This reverts commit 96b26b1ee2. The commit was reported to break libuv on Illumos systems.
96b26b1ee2