Fix build break on os x. Declare static in gossiper.cpp