Support windows console output

Closes #225