A Halogen-Bond Donor Catalyst for Templated Macrocyclization.