Add string.h for strndup.