Fix compilation error in Silverlight projects