Fix TimeManager compilation