we can use msvc's memchr