libtorrent: proper cross build support.