Blueprints, spillovers, and the dynamic gains from trade liberalization in a small open economy