compile: Simplify determining which sources to download