Fixed dependency resolving for non jar files