add GNU_SOURCE to linux
Merge pull request #482 from luvit/fixes/gnu_source

add GNU_SOURCE to linux