[plugin] fix compilation