alpha: Replace strncmp with str_has_prefix