Restore compilation in visual studio 2010