fix Visual C++ build

This used to work, but I think when the MSWin32 build got refactored, these variables got left out.  They are needed for a build on MSWin32 with Visual C++.

Thanks!