Fix variable declaration for win32 compilation.

For issue #109.