[PATCH 2/2] examples: Define _GNU_SOURCE for more examples