deps: update libuv to 1.0.1

Also fixed compilation on OSX.