another small boolean fix

fixes a break on OS X with IJG jpeg