Make default directories more portable