When a new shul is inaugurated, is it correct to recite the brocho of ‘Hatov Vehameitiv,’ as is customary when a sheared item is acquired and there is great joy and pleasure for many?

Mishna Berura (223: 11) rules that when a new shul was acquired or built, the Shaliach Tzibur should recite loudly and in front of all, while having in mind that they comply too the blessing of Hatov Vehameitiv. However, Shaarei Teshuva (ibid. 9) quotes Poskim that rule not to recite this blessing and rules accordingly. Horav Shlomo Miller’s Shlit’a opinion is that it is preferred to make this blessing at that time on an new accepted by all opinions object and have in mind to comply with the new shul requirement.