Fixed a warning in plugin/library