Fix tests project linking with MSVS