Ljubović, Mustafa, 1650-1707