[tor-commits] [tor/master] Several mingw/msvc/cross-compilation fixes