back-ported some fixes for building with no exceptions
back-ported some fixes for building with no exceptions

deluge-clone/libtorrent,deluge-clone/libtorrent,deluge-clone/libtorrent,deluge-clone/libtorrent,deluge-clone/libtorrent,deluge-clone/libtorrent