Handle empty string values properly.

Allow matching variables to empty strings.
Merge pull request #29 from smspillaz/cmake-unit.item_27

Handle empty string values properly.