Include string.h explicitly, for strdup.