Ignore Windows logic on non-Windows and vice versa