Use string.h instead of memory.h

memory.h is not listed on C99 standard header files.