using Qt macro instead of C++ macro.
fix linux kernel version detection for version number < 3.10