add _GNU_SOURCE to intlog.c, should probably get rid of it some day