Set cache dir for npm