Fix compilation errors when using newer libbitcoin

Bumped into some issues trying to build sx against a fresh checkout of libbitcoin. Did some simple fixes to make it build. I'm not sure if everything still works as I'm just about to dig into what sx can do.

cheers!