win: minor coding style cleanup
win: open_named_pipe const argument
unix, windows: uv_dlerror const argument