check mac or win