OSX Libtorrent build fails without explicit flags