Fix build with libkgapi >= 5.12 (aka Applications/19.08)

Authored by elvisangelaccio on Aug 24 2019, 10:08 AM.