Install core dependencies first