Make test Solr server work on systems without realpath