fix round and format %lld warnings for Linux