Unittests compilation fix