clang workarounds to emit C99 extern inline funcs