libtorrent: use libstdc++ if compiling with clang on mavericks, fixes #23483