Attempt to fix strdup() warning