[FOLD] peerfinder gcc fixes