zhash msvc build fixes