can_start_job
extern bool can_start_job(void);
while (can_start_job() && (gn = Array_Pop(&to_build)) != NULL) {