fixed 3.6 llvm build in type.cpp