Fix Windows build.

I renamed a variable, but missed an #ifdef WIN32 block.