Quick bugfixes and some changes to the installation code, made to work with PCRE's .lib dependency.