core: fix build error

Change-Id: I669480a591095e84ebdb0b4624424bd3ba177ac6
Bug-Url: http://bugzilla.redhat.com/922490
Signed-off-by: Roy Golan <rgolan@redhat.com>