fixes #5947
Merge pull request #5957 from dotCMS/issue-5947-system-not-initializing-propertly-on-windows

fixes #5947