Fix compilation errors introduced by host Pipe abstraction
on Windows.