adding API call to list unspent balances known to the wallet
fix mac build