(MSVC) Add 7zip support - build fixes to do with casting pointers
explicitly