Fix windows detection.