fix needed for Windows, due to a JVM bug. Affects overall performance, but filesize and runtime are reasonable

Signed-off-by: Christian MICHON <christian.michon@gmail.com>