Fixed some mixed tabs and spaces at the beginning of lines.
Added shared library wrappers to the oscompat layer (only Win32 impl right now).
Ported the PCRE addon lib.