Fix export failing on simulator