win32: VS2010 build fixed