Obtain -lpthread from libbitcoin.pc.