Bugfix for DROOLS-354 and DROOLS-540 on Windows

Backport of the bugfix from master branch to Drools 6.1.x branch
Bugfix for DROOLS-354 and DROOLS-540 on Windows

Backport of the bugfix from master branch to Drools 6.1.x branch
Merge pull request #380 from chearius/6.1.x

Bugfix for DROOLS-354 and DROOLS-540 on 6.1.x branch (backport from master)