configure.ac: Use POSIX compatible regex for word boundary.