Build cpp-tests as windows executable, without this msvc can not link final exe