Do not compare static string pointers, as on some platforms
they might actually move around. Closes ticket:4236