Add optimization for strtok_r.