Fix for gx4000 problems in debug builds regression test run. (nw)