fix compile issue with missing min() in wallet.cpp
update install-sx.sh script to new libbitcoin repositories