Factors affecting colonial industrialization in the endowment view of settlement versus extraction