Capital Allocation and Firm Dynamics in Small Open Economies