move _GNU_SOURCE to Makefile