HSEARCH-1292 Adapt checkstyle rules to not fail on Windows