setMode is a nop on Windows.

This change allows me to compile on Windows.