Fix compilation on Silverlight/v2.