[xbuild] Tests need older MSBuild targets
[xbuild] Properly disable tests on 4.0 framework profile