Add compatibility with older libbitcoin