Using libstdc++ was acceptable for mongodb because mongodb is an application, not a library, and nothing in Homebrew needed to link against it. libtorrent will need to be fixed to compile with libc++ instead.