fix fatal issue with jars that have no directories not being added to classpath