TweakMode: fix oscp5 dependency check

 (closing issue #2730)