[Core] Dispose the msbuild builders when shutting down MD