correctly set _GNU_SOURCE macro