Move definition of _GNU_SOURCE before inclusion of any libc headers