fix windows thread names, move c-string utils from foundation to platform