win: Fix unqualified lookups into dependent base classes.