Many of these were built by the Dutch.
Spectacular Views in Pernambuco picture - The Dutch were the only Europeans to take away a part of Brazil, I think they took control of Recife and the surrounding countryside around 1621, not long later of course the Portugese took it back.