support for C++14: memcmp, memchr