The solution is to use C#'s extern alias feature.
Expand the references section of your project.
Right click on System.Data.Services.Client and choose properties.
Change Aliases from "global" to "system" or something else.
and the project builds fine.