Fix compile error in Villager