BUG: Fix regular expression used to determine the link_type in creation of CTK_EXTERNAL_LIBRARIES
The regular expression was based only on the match of either "debug", "optimized"
or "debug". Adding "^" and "$" allow to make sure library path having
this word in their path are NOT considered as link type by error.
Jean-Christophe Fillion-Robin%!s(int64=14) %!d(string=hai) anos