Add string.h to fix compiler warning about memcpy