Fixed segfault in Type Inheritance. Changed block usage to be under clang rather than apple.