configure: Check whether *_l need _GNU_SOURCE