libtorrent: fix build on 10.4, 10.5

Fixes #231.