Fix libtorrent 0.15.x compilation.