Fix linking with clang-3.4