Merge the fixes that are being used in cerbero master
These changes are being used in cerbero ever since cerbero!602 (merged) and it fixes the MSVC build, so let's merge and we can have cerbero point to gst-ci master again.
The current issue is that uploading of artifacts is not working on the Windows runners, which will be resolved separately.
Edited by Nirbheek Chauhan