Core plugin: Fix compilation.

Change-Id: I74e9322e482ebcd16036afc3e7de23f38afbedfe
Reviewed-by: Orgad Shaneh <orgads@gmail.com>