Set cache dir to tmp for systems where we don't own /var