Add CMAKE_VERSION variable and expected failing unit tests.

The qt5_use_modules macro is not found at all, since the version
check against CMAKE_VERSION fails. Our code does not expand the
variable and then of course fails the version check.

CCBUG: 337907
Properly expand version variables before doing comparisons.

This fixes our CMake support to properly support qt5_use_modules.

BUG: 337907
Expand variables before evaluating conditions.

CMake does the same as manual testing shows, so we must do the same.
I noticed this issue when debugging another include path error which
is now resolved.