The frosting may need more confectioners' sugar depending on the temperature of your ingredients and the moisture in the air. You can also chill the mixture before filling the cookies for an even firmer texture. If you're serving these on a hot day or at the beach, freezing the filled pies will help them stay fresh and neat, instead of turning into a mushy mess.