Fix int64_t build issues

We used these changes so that we could build the new client for our multipool.