Fix bad results when compiling with Apple’s LLVM 5

Not entirely sure how this makes any difference, but it this patch makes `strsplit` work properly with Apple’s latest C stack.

Per some googling:

> strtok() is destructive in its parsing (ie it writes to the string you're parsing while you're parsing it)

See #2 and #3.