Linker fix in testrunner when OGS_BUILD_GUI=ON