This overcomes the build failure on Solaris where it complains about incompatible types of ? operands.