Revert "Revert "[Modules] Fallback to building the module if a timeout occurs""

This reverts commit 0e8eae263e113aa995b26602e8cc61a841ff9b9a.
The uncovered bug was fixed in 30015fa6343.

rdar://problem/30413458
2 files changed