iterate over build-dirs dict