pass along CFLAGS/LINK_FLAGS to libuv

Closes #6142
auto merge of #6176 : thestinger/rust/libuv_optimize, r=thestinger

Closes #6142