Erdogan hits out at support for Syria terror groups