Updated for Solr 4.5.1 and added a null check to env variable BROWSE_HOME.