Apply suggestions from libuv pull request

Thanks saghul: https://github.com/joyent/libuv/pull/1428