Bugfix for DROOLS-354 and DROOLS-540 on Windows