Added missing #include <cstring>