Fix libtorrent install checking