Disable GC when computing deps, refs #3482