Fix for building on Win32/Visual C++ 2010