ntopng: make compilation a little bit faster (#15950)