clang: Fix a linker error with clang 3.4

libclang synced from https://github.com/xdress/clang/commit/c5e6eb24d2e547a2a95baca350ecc15068682e71.