replace -D_GNU_SOURCE with -D_ISOC9X_SOURCE to avoid accidental use