Simplify windows detection