I actually think a better solution is to just stop building PseudoTerminal stuff on Windows. That's a larger change, but I suspect I'll do it at some point in the future. http://reviews.llvm.org/D4737