Go back to strncmp since profiling shows no speed difference.