some prep for MSVC build

I am getting some missing symbols, but getting closer:

LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
archive_static.lib(archive_util.c.obj) : error LNK2019: unresolved external symbol __imp__CryptAcquireContextA@20 referenced in function ___archive_mktemp
archive_static.lib(archive_util.c.obj) : error LNK2019: unresolved external symbol __imp__CryptReleaseContext@8 referenced in function ___archive_mktemp
archive_static.lib(archive_util.c.obj) : error LNK2019: unresolved external symbol __imp__CryptGenRandom@12 referenced in function ___archive_mktemp
C:\Users\ollisg\AppData\Local\Temp\NTJ6MseEfY\test.exe : fatal error LNK1120: 3 unresolved externals