Work around bug which errors when building .NET 3.5 apps with RESX files