This change is required to build Gentoo's net-libs/libtorrent-0.13.8-r1 package with FEATURES=test, e.g. $ FEATURES=test emerge net-libs/libtorrent