fix extern names for win32