Fix installing with dependencies