Resolve -Wwrite-strings warnings.