fix comparison operator for OpenBSD