updated for GNU strtoll