Introduce 'BuildScheduler' keeps track of in progress builds to avoid
duplicated work.