Fix int64_t build issues