folly: improve setThreadName for macOS