Windows must link to libregex