generalize to all windows, not just msvc