Add apache and missing dependencies