Fix linking on win32 platform.