GNU_SOURCE check is needed on older OSs

Signed-off-by: Luis Pabon <lpabon@redhat.com>