[BZ-1051585] make kie-spring to work on Windows
(cherry picked from commit 18f311b8e6220ef47f4698d3d61b8c291ae6ab29)