Compare with '\0' instead of ''

Some compilers don't like empty character sets.