COMP: Fix windows tests compilation and linking