fix mongo installation and django dependencies for setup script