Use strdup to copy environment strings into our settings structure.