Fixes Win32 linking issues.