SetFlags.cmake: don't use ${} expansion on if STREQUAL

See http://stackoverflow.com/questions/19982340/cmake-compare-to-empty-string-with-strequal-failed
Merge remote-tracking branch 'origin/master' into potions