Fix platform string