service: fix compilation with GCC 10