install dependencies if missing