bugfix: failed to build on Mac OS X due to use of u_char in the regex parser.