Foxconn will build factory in Wisconsin