SysTools: Only apply Windows-specific workaround on Windows
Issue #1110 (closed) was apparently due to a bug in Vista which prevented GCC from finding its binaries unless we explicitly added it to PATH. However, this workaround was incorrectly applied on non-Windows platforms as well, resulting in ill-formed PATHs (#17266 (closed)).
Fixes #17266 (closed).