fix issue with adding URLs to classpath