Link against libc++ when using clang, libstdc++ otherwise