fix up GNU_SOURCE stuff