MSVC changes needed to implement the new 'widgets' library