'Turkey to take matters into own hands against terror'