Part of it is using a long lense when you can, which is practical with a cirkut. The other thing is to avoid sweeping a building so that the size goes from smaller to larger back to smaller again. Like if you place the camera right in front of the middle of the building, the middle is largest in the frame, and the building gets progressively smaller on both sides as you move away from that point. If the composition allows for the corner edge of the building to be closest to the lense the barrel effect is minimized.