Fix variable declaration for win32 compilation.