Make strtok_s() work on old compilers