This MR includes a couple of updates and fixes to the CMake build system. Includes
- Remove QT4 support since we do not use it and it is now outdated.
- Change test used to identify Loki to avoid detecting a system-level subset of loki distributed by XDMF pacakge.