Fix rebuilding when package is linked to multiple missing libraries
Wait for all check jobs to finish before doing final analysis