Fixed Silverlight build errors