fix new plugin build problem