Add support for Less dependencies in the same package but in different jar file

See #390 .