clmake: use `\W` instead of `\b`

Patterns that end in non-word chars (such as `:`) will not match a `\b`
atom when followed by a non-word like ` ` or `\n`.

No reviewer.