Fix Windows bug that doesn't happen under wine: stdin defaults to text mode, which of course breaks compiler plugins.