Distinguish only between Windows and non-Windows in GUI code