TRQ-2892: fixed compilation of unit test for CentOS.