Portability: use g_ascii_strtoll instead of strtoll, atoll and atof.