Terrorists cannot protect NATO borders, says Turkish PM