Add async_result support to Windows-specific classes.
Add workaround for older MSVC.