Thanks for that!
I got it to compile with regular repo code - however, about 15% SLOWER than wallet miner and your precompiled binary.
Changing algo options (-mno-sha etc.) didn't change anything, always ~46kH/s (precompiled & wallet do 53-55) on a Ryzen 1700.
What compile options did you use?
Check winbuild-cross.sh file.