VS2010 build fix