Use C++'s strtok over C's
Use C++'s strtok over C's

Removes the define used for strtok_s and replaces uses with std::strtok
Made the Windows errmsg const, and 'p' non-const, since it is changed.

sago007/PlatformFolders