XCOMMONS-583: Distribution and Solr Index statuses are not created when starting XWiki on Windows

(cherry picked from commit 1e2231fb918782d37f0b5e9a4214b1819d22dc9c)