build: check for GNU-style word-boundary support also in the tiny version

The tiny version can do regex searches nowadays, so the user might use
the \< and \> anchors in their regexes.

This fixes https://savannah.gnu.org/bugs/?50008.
1 file changed