[xbuild] Fix incremental build of TargetFrameworkAttribute