Fixed automatic dependency downloading