Make test tools link on Windows
Fixes the CI breakage in https://build.kde.org/job/Frameworks%20knewstuff%20kf5-qt5%20WindowsMSVCQt5.11/4/console