Use lib/classpath.jar if exists instead of looking in lib/ to build the classpath

When running from the source directory lib contains the source jars (and other
artifacts) and this can cause problems if they are included in the class path.