Added _GNU_SOURCE for uClibc-ng compatibility. _XOPEN_SOURCE does not seem to be enough. Signed-off-by: Rosen Penev <rosenp@gmail.com>