fix compile on linux by adding cstring include for memcpy