I'm a bit sick of the strdup() nonsense, so let's do this.