Housebuilder cheers market after 'difficult period for the sector'