Fix compilation with libtorrent 0.16.x.