Fix boost test compare warnings.