Erdogan focuses on terrorism ahead of China G20 summit