Fix a bug in jvm_compile.

Not all JVM languages have runtime deps.