The war in the Middle East has triggered a costs crisis in the construction industry — but there’s a way to stay safe.