Make solr install more idempotent