allow classpath to be specified as folders also