[Unittests] Fixed test builds