Try to fix windows build after r198136.

`type` can't read from stdin.