Fix msie checking