Windows must link to libregex

For Windows, we must explicitly link to libregex because Windows isn't POSIX compliant and doesn't have this generally available.