Fix for unit test failure in nightly.
Previous commit was only tested in tdaq-08-03-01, but in nightly things work differently w.r.t. where test are executed, so that relative path name used to open oksconfig file does not work any more. Added simple logic to try to make things more portable, that needs an environment variable passed to the test from CMakeLists.txt.
Closes ADHI-4766