Fixed missing strtok_r symbol error (use strtok_s in visual studio).