Firpat withholding tax

How can a tax resident but non usa permanent resident avoid firpat withholding tax when he sells a house or buy a house in usa?