[CMake] Added dependency from ctest to its test executable.
This allows for:
cmake ../ogs -DOGS_BUILD_UTILS=ON
make ctest
This will build the required executables bedore running the tests.
Fixes missing executables on clang-sanitizer Jenkins job.