Add the extra sources to the classpath, but only when running in Eclipse (not when running pde)
Potential fix for GRECLIPSE-1639 ensure that type binding is resolved before trying to convert it to a JDTClassNode.