add GNU_SOURCE to linux