About 30 homeless people who have set up camp in an empty building owned by two former Manchester United players have been told they can stay for winter.