Fixed VS2010 build support.