libtorrent: cross build, static and dbg support.