fix the builtin_unreachable check for clang