In addition to @SevaTitov's answer:
On my machine these are located at:
\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies\*.dll
\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies\*.dll
Copy these assemblies to a 'lib' folder in your project, remove any references to these assemblies from your projects, and re-add them from the 'lib' folder. This will change the 'HintPath' in your .CSPROJ file to use them from 'lib' folder when building on the build machine. If developer doesn't sync lib folder VS should still get them from the above assembly search folders, so no harm done, but they will also be found on build machine.