Properly invert the return of a strncmp call.