hacks to clang