Implement process bindings to libuv

Closes #6436
Fix various issues associated with building on windows