check if the real name has been already compiled
use lower-case name in getType for classname