fixed win32 linking