cmake: enable builds with cmake 2.8.7 even on Qt5

The logic behind this was more or less sane ("you're using bleeding edge Qt, use
a decent cmake as well, then"). Unfortunately, it breaks the travis-ci which
runs on stock ubuntu which ships 2.8.7. Besides that, the Qt5 builds don't
actually use any post-2.8.7 features of cmake (!).