Fixed tests building.