tools: pkg-config: fix build with GCC 6