This fixes building the test code on MSVC 2013. (Actually building all of the tests on windows still is tricky due to the OpenSSL dependency for SHA1, but there's a patchset in review to take care of that.)