Fix JVM startup error for build on Windows