-D_GNU_SOURCE added to PED compilation