Automatically link with required win32 libraries