telepathy: fix compilation error with GCC 8.0