fixed build errors for icyplugin