Include Boost Regex
Fix compilation problems with POSIX regex functions on Solaris. See issue #997