Revert "strtok stores its values in thread local storage."

This reverts commit 6cb88a0a7712a009a2d6d355825f96c29471d1c9.