Set platform dir