Fix JVM build breakage