Fixed NPE in Linker.buildTypeInfo() when superclass has errors. (#142)