define _GNU_SOURCE only for linux - #162