Fix compilation with libtorrent 0.15.x.