Handle versions better for solr4.