Change some conditionals involving string literals to use strcmp instead.

The current usage throws some compiler warnings.