check for strncpy_s

Leave the check for `_MSC_VER`.