fix #25666: link xmlstream under Windows