Correctly resolve dependencies for multi-jvm.