libtorrent and boost changes to use flags