Check for strncpy_s

Check strncpy_s by cmake to fix Issue #16