Use classloader as a fallback for isAssignableTo