fix build without g-i installed

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>