Can you try adding #include <string.h> to mothur.h just after the line #include ? Then run make clean, then make.