Added #include <cstring>