Ensure solr directory exists before downloading dependencies