Fix typo causing compile error strcmp -> strncmp