MSBuild uses Tracker.exe (or Tracker.dll) which depends on Microsoft's Detours IAT hooking library, which works much differently. Sadly it has to be purchased separately.
Oh, is it hooking certain critical functions related to file I/O? Thanks for the info!