Fix comparisons of bool variables in _variable_is

Only the EQUAL comparison is supported and we have to test it by
testing the variables themselves
Merge pull request #45 from smspillaz/cmake-unit.item_43

Fix comparisons of bool variables in _variable_is