Update PluginWMI.cpp

Remove extern C