Fixed ascii only build issue for plugins.