libtorrent: use libstdc++ if compiling with clang on mavericks